<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>查询结果</title>
    <link rel="stylesheet" th:href="@{css/bootstrap.min.css}" />
</head>
<body>
<div>
    <h3>查询结果</h3>
</div>
<div class="container">
    <div>
        <h3><span th:text="${title}"></span></h3>
    </div>
    <div>
        <table>
            <tr th:each="book:${book}">
                <td>
                    <span th:text="${book.id}"></span>
                </td>
                <td>
                    <span th:text="${book.name}"></span>
                </td>
            </tr>
        </table>
        <table>
            <tr th:each="author:${author}">
                <td>
                    <span th:text="${author.id}"></span>
                </td>
                <td>
                    <span th:text="${author.name}"></span>
                </td>
                <td>
                    <span th:text="${author.age}"></span>
                </td>
            </tr>
        </table>
    </div>
</div>
</body>
</html>